From: Florian Müllner Date: Mon, 4 Feb 2019 10:58:00 +0000 (+0100) Subject: screenshot: Remove bogus parameter X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~897^2^2~43 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=43fb2b38b1a9bc3888ab1970d61aeac6f18b8eb7;p=gnome-shell.git screenshot: Remove bogus parameter Expecting a callback argument over D-Bus doesn't make any sense at all, whoops. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/388 --- diff --git a/js/ui/screenshot.js b/js/ui/screenshot.js index f0e1c4825..a314dfcea 100644 --- a/js/ui/screenshot.js +++ b/js/ui/screenshot.js @@ -106,7 +106,7 @@ var ScreenshotService = class { } ScreenshotAreaAsync(params, invocation) { - let [x, y, width, height, flash, filename, callback] = params; + let [x, y, width, height, flash, filename] = params; [x, y, width, height] = this._scaleArea(x, y, width, height); if (!this._checkArea(x, y, width, height)) { invocation.return_error_literal(Gio.IOErrorEnum,